<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<jsp:include page="../common/common.jsp"></jsp:include>
    <script type="text/javascript" src="admin/action/actionList.js"></script>
  </head>
  <body>
  		<table id="dg"></table> 
  		<div id="tb">
			<a href="javascript:add();" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">添加</a>
			<a href="javascript:edit();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
			<a href="javascript:del();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">删除</a>
			<a href="javascript:refresh();" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true">刷新</a>
		</div>
  
  		<!-- 新增和修改对话框 -->
		<div id="dlg" class="easyui-dialog" style="width: 420px;height: 220px;padding-left: 20px;"
		  closed="true" buttons="#dlg-buttons">
		 <form id="fm" method="post">
		 	<table cellspacing="5">
		  		<tr>
		  			<td>名称:</td>
		  			<td><input type="text" style="width: 240px;" id="actionName" name="actionName" class="easyui-validatebox" /></td>
		  		</tr>
		  		<tr>
		  			<td>地址:</td>
		  			<td><input type="text" style="width: 240px;" id="actionUrl" name="actionUrl" class="easyui-validatebox" /></td>
		  		</tr>
		  	</table>
		 </form>
		</div>
		<div id="dlg-buttons" style="text-align:center">
			<a href="javascript:saveOrEdit();" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
			<a href="javascript:closeDialog();" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
		</div>
  </body>
</html>
